﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class Programmer : FuLei, IOther
    {
        public Programmer(string name, string zhiwei) : base(name, Programmer)
        {

        }

        public void programmer()

        {
            Console.WriteLine("同时也是一位员工");


        }

        public void t1()
        {
            Console.WriteLine("也是个作家");
        }

        public void teacher()
        {
            Console.WriteLine("我是{0}，我的职位{1}", this.Name, this.programmer);
        }

    }
}
